package com.hjq.base.util

import android.text.TextUtils

class UserUtils {
    companion object {
        fun getHidePhone(phone: String): String {
            if (TextUtils.isEmpty(phone) || phone.length < 7) {
                return phone
            }
            var hidePhone = phone.substring(0, 3) + "****" + phone.substring(7)
            return hidePhone
        }
    }
}